package co.yixiang.hw.repository;

import co.yixiang.hw.domain.SupplierUserApply;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
* @author Walert
* @date 2021-03-27
*/
public interface SupplierUserApplyRepository extends JpaRepository<SupplierUserApply, Long>, JpaSpecificationExecutor<SupplierUserApply> {

    List<SupplierUserApply> findByUserIdAndIsDelOrderByIdDesc(Long userId,Integer isDel);
}
